# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ "$PS1" ]; then
  if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
    # The file bash.bashrc already sets the default PS1.
    # PS1='\h:\w\$ '
    if [ -f /etc/bash.bashrc ]; then
      . /etc/bash.bashrc
    fi
  else
    if [ "`id -u`" -eq 0 ]; then
      PS1='# '
    else
      PS1='$ '
    fi
  fi
fi

# The default umask is now handled by pam_umask.
# See pam_umask(8) and /etc/login.defs.

if [ -d /etc/profile.d ]; then
  for i in /etc/profile.d/*.sh; do
    if [ -r $i ]; then
      . $i
    fi
  done
  unset i
fi

# mstar A3 toolchain
PATH=$PATH:/opt/arm-2010.09/bin:/opt/arm-2011.03/bin
export NDK=/opt/android-ndk-r6b
export PATH=$PATH:/opt/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin
#mstar a3 android java 
export JAVA_HOME=/opt/jdk1.6.0_30
#export CLASSPATH=JAVA_HOME/lib
#export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH



# A83T
export JAVA_HOME+=/usr/lib/jvm/java-1.7.0-openjdk-amd64
export CLASSPATH=JAVA_HOME/lib
#export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH


#mst182 toolchain
PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/bin:/opt/182/remake/bin:/sbin:/opt/182/opt/montavista/pro/devkit/mips/mips2_fp_le/bin:/opt/182/opt/crosstool/mipsel-gcc-4.1.2-uclibc-0.9.28.3-mips32/bin:/opt/182/opt/aeon/bin
export PATH
